package com.zwb.demo.model;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class SheetDefinition {

    private String sheetName;           //表名
    private String sheetDesc;           //表的说明
    private String fileName;           //文件名字
    private String javaPackage;           //文件名字
    private int keyColNum = -1;             //主键在第几行
    private String keyName;             //主键key
    private List<FieldDefinition> fields = new ArrayList<>();    //字段
    private String jsonData;            //生成的json数据
    private JSONArray jsonArray;            //生成的jsonArray数据

}
